package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.system.entity.AbdulBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("warehouse")
@ApiModel("仓库信息")
public class Warehouse extends AbdulBaseEntity {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("是否为默认仓库（1: 是；0: 否）")
    private Integer isDefault;

    @ApiModelProperty("仓库名称")
    private String warehouseName;

    @ApiModelProperty("联系人")
    private String contactPerson;

    @ApiModelProperty("联系电话")
    private String contactPhone;

    @ApiModelProperty("仓库地址（简略）")
    private String warehouseAddress;

    @ApiModelProperty("状态（1: 启用；2: 禁用）")
    private Integer status;

    @ApiModelProperty("详细地址")
    private String detailedAddress;

    @ApiModelProperty("手机号")
    private String phone;
}
